package com.lagou.component;

import com.lagou.service.ApiService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerService {

    @Reference
    ApiService apiService;

    public void domethodA(String name){
        apiService.methodA(name);
    }

    public void domethodB(String name){
        apiService.methodB(name);
    }

    public void domethodC(String name){
        apiService.methodC(name);
    }
}
